package com.ruoyi.parameterQuery.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 户参数修改对象 house_door_parameter
 *
 * @author ruoyi
 * @date 2023-04-25
 */
public class HouseDoorParameterQuery extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 户参数id
     */
    private Long parameterId;

    /**
     * 小区名称
     */
    private String areaName;

    /**
     * 楼宇名称
     */
    private String groupName;

    /**
     * 单元名称
     */
    private String unitName;

    /**
     * 户名称
     */
    private String doorName;

    @Excel(name = "地址")
    private String addr;

    /**
     * 房屋编号
     */
    @Excel(name = "房屋编号")
    private String houseId;


    /**
     * 面积(原)
     */
    @Excel(name = "面积(原)")
    private BigDecimal spacePre;


    /**
     * 面积(修改)
     */
    @Excel(name = "面积(修改)")
    private BigDecimal space;
    private Double price;
    private Double pricePre;


    /**
     * 房屋用途id(原)
     */
    @Excel(name = "房屋用途(原)")
    private String purposeIdPre;
    /**
     * 房屋用途id(修改)
     */
    @Excel(name = "房屋用途(修改)")
    private String purposeId;

    /**
     * 创建者
     */
    @Excel(name = "创建者")
    private String creater;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public Long getParameterId() {
        return parameterId;
    }

    public void setParameterId(Long parameterId) {
        this.parameterId = parameterId;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public BigDecimal getSpacePre() {
        return spacePre;
    }

    public void setSpacePre(BigDecimal spacePre) {
        this.spacePre = spacePre;
    }

    public BigDecimal getSpace() {
        return space;
    }

    public void setSpace(BigDecimal space) {
        this.space = space;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("parameterId", getParameterId())
                .append("houseId", getHouseId())
                .append("areaName", getAreaName())
                .append("groupName", getGroupName())
                .append("unitName", getUnitName())
                .append("doorName", getDoorName())
                .append("spacePre", getSpacePre())
                .append("purposeIdPre", getPurposeIdPre())
                .append("space", getSpace())
                .append("purposeId", getPurposeId())
                .append("creater", getCreater())
                .append("createDate", getCreateDate())
                .append("remark", getRemark())
                .toString();
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getDoorName() {
        return doorName;
    }

    public void setDoorName(String doorName) {
        this.doorName = doorName;
    }

    public String getPurposeIdPre() {
        return purposeIdPre;
    }

    public void setPurposeIdPre(String purposeIdPre) {
        this.purposeIdPre = purposeIdPre;
    }

    public String getPurposeId() {
        return purposeId;
    }

    public void setPurposeId(String purposeId) {
        this.purposeId = purposeId;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getPricePre() {
        return pricePre;
    }

    public void setPricePre(Double pricePre) {
        this.pricePre = pricePre;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }
}
